package cn.wu.reggie.service;

import cn.wu.reggie.common.R;
import cn.wu.reggie.dto.DishDto;
import cn.wu.reggie.entity.Dish;
import cn.wu.reggie.query.DishQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface IDishService extends IService<Dish> {

    R saveDishWithFlavor(DishDto dishDto);

    R findByPage(DishQuery qo);

    R findById(Long id);

    R updateDishWithFlavor(DishDto dishDto);
}
